<?php session_start();?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>主页</title>
<link href="../css/bootstrap.min.css" rel="stylesheet">
<script type="text/javascript">
function validate_form(thisform)
{
with (thisform)
  {
  if(content.value == ''){
	  alert("留言不能为空");
	  content.focus();
	  return false;
  }else{
	 
  }
  }
}
</script>
</head>
<body>
<?php require '../public/header.php' ?> 
<!-- 导航栏 -->
<ul class="nav nav-pills">
   <li class="active"><a href="#">主页</a></li>
   <li><a href="message_record.php">留言记录</a></li>
   <li><a href="friends.php">我的好友</a></li>
   <li><a href="add_friends.php">添加好友</a></li>
   <li><a href="notice.php">我的消息</a></li>
</ul><hr/>
<!-- 留言记录 -->
<div class="panel panel-info"> 	
	<div class="panel-heading" id="message_record">
      <h3 class="panel-title">我的主页</h3>
   </div>
   <div class="panel-body">
		<?php
		if(isset($_SESSION['username'])){
			echo "功能待添加";
		}else{
			echo "亲,先去<a href='../face/login-face.php'><span>登陆</span>                </a>吧！";	
		}
		?>
    </div>
</div>
</div>
</body>
</html>
